package com.free.fs.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class IndexController  {

    /**
     * 主页
     */
    @GetMapping({"/index"})
    public String index() {

        return "index";

    }

    @GetMapping({"", "/login"})
    public String login() {

        return "login";

    }
    @RequestMapping("/print")
    public String print()
    {
        return "print";
    }

    @RequestMapping("/test")
    public String test()
    {
        return "test";
    }

    @RequestMapping("/Manager")
    public String Table()
    {
        return "Manager";
    }
}
